local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1, L10_1, L11_1
L0_1 = {}
L0_1.group_id = 111101038
L1_1 = {}
L1_1.challenge_1_duration = 50
L1_1.challenge_2_duration = 40
L1_1.challenge_3_duration = 30
L1_1.group_id = 111101038
L1_1.father_quest = 21016
L1_1.region = 62013
L1_1.gadget_chest_1 = 38002
L1_1.gadget_chest_2 = 38003
L1_1.gadget_chest_3 = 38004
L1_1.challenge_id_no_record = 184
L1_1.challenge_id_have_record = 168
L1_1.source_2 = "2101602"
L1_1.source_4 = "2101604"
L1_1.source_6 = "2101606"
L1_1.source_8 = "2101608"
L2_1 = L1_1.father_quest
L3_1 = "02"
L2_1 = L2_1 .. L3_1
L1_1.quest_1_id = L2_1
L2_1 = L1_1.father_quest
L3_1 = "04"
L2_1 = L2_1 .. L3_1
L1_1.quest_2_id = L2_1
L2_1 = L1_1.father_quest
L3_1 = "06"
L2_1 = L2_1 .. L3_1
L1_1.quest_3_id = L2_1
L2_1 = L1_1.father_quest
L3_1 = "08"
L2_1 = L2_1 .. L3_1
L1_1.quest_4_id = L2_1
L2_1 = L1_1.group_id
L3_1 = "0101"
L2_1 = L2_1 .. L3_1
L1_1.quest_1_success = L2_1
L2_1 = L1_1.group_id
L3_1 = "0102"
L2_1 = L2_1 .. L3_1
L1_1.quest_1_fail = L2_1
L2_1 = L1_1.group_id
L3_1 = "0201"
L2_1 = L2_1 .. L3_1
L1_1.quest_2_success = L2_1
L2_1 = L1_1.group_id
L3_1 = "0202"
L2_1 = L2_1 .. L3_1
L1_1.quest_2_fail = L2_1
L2_1 = L1_1.group_id
L3_1 = "0301"
L2_1 = L2_1 .. L3_1
L1_1.quest_3_success = L2_1
L2_1 = L1_1.group_id
L3_1 = "0302"
L2_1 = L2_1 .. L3_1
L1_1.quest_3_fail = L2_1
L2_1 = L1_1.group_id
L3_1 = "0401"
L2_1 = L2_1 .. L3_1
L1_1.quest_4_success = L2_1
L2_1 = L1_1.group_id
L3_1 = "0402"
L2_1 = L2_1 .. L3_1
L1_1.quest_4_fail = L2_1
L2_1 = {}
monsters = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 38009
L3_1.npc_id = 20036
L4_1 = {}
L4_1.x = 2382.719
L4_1.y = 256.432
L4_1.z = -1346.967
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 184.8
L4_1.z = 0.0
L3_1.rot = L4_1
L2_1[1] = L3_1
npcs = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 38001
L3_1.gadget_id = 70690001
L4_1 = {}
L4_1.x = 2383.946
L4_1.y = 255.238
L4_1.z = -1331.777
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 183.1
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L4_1 = {}
L4_1.config_id = 38002
L4_1.gadget_id = 70211101
L5_1 = {}
L5_1.x = 2381.12
L5_1.y = 256.164
L5_1.z = -1344.767
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 352.3
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L4_1.drop_tag = "\232\167\163\232\176\156\228\189\142\231\186\167\232\146\153\229\190\183"
L4_1.showcutscene = true
L4_1.isOneoff = true
L4_1.persistent = true
L5_1 = {}
L5_1.config_id = 38003
L5_1.gadget_id = 70211111
L6_1 = {}
L6_1.x = 2382.92
L6_1.y = 256.61
L6_1.z = -1344.567
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 352.3
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L5_1.drop_tag = "\232\167\163\232\176\156\228\184\173\231\186\167\232\146\153\229\190\183"
L5_1.showcutscene = true
L5_1.isOneoff = true
L5_1.persistent = true
L6_1 = {}
L6_1.config_id = 38004
L6_1.gadget_id = 70211121
L7_1 = {}
L7_1.x = 2385.02
L7_1.y = 256.649
L7_1.z = -1344.267
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 352.3
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L6_1.drop_tag = "\232\167\163\232\176\156\233\171\152\231\186\167\232\146\153\229\190\183"
L6_1.showcutscene = true
L6_1.isOneoff = true
L6_1.persistent = true
L7_1 = {}
L7_1.config_id = 38005
L7_1.gadget_id = 70690006
L8_1 = {}
L8_1.x = 2384.364
L8_1.y = 246.381
L8_1.z = -1327.077
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 0.0
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L8_1 = {}
L8_1.config_id = 38006
L8_1.gadget_id = 70220011
L9_1 = {}
L9_1.x = 2383.32
L9_1.y = 246.611
L9_1.z = -1325.133
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 139.6
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 1
L9_1 = {}
L9_1.config_id = 38007
L9_1.gadget_id = 70360025
L10_1 = {}
L10_1.x = 2383.748
L10_1.y = 248.014
L10_1.z = -1306.254
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 0.0
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 1
L10_1 = {}
L10_1.config_id = 38008
L10_1.gadget_id = 70900201
L11_1 = {}
L11_1.x = 2383.748
L11_1.y = 248.014
L11_1.z = -1306.254
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 0.0
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 1
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
L2_1[4] = L6_1
L2_1[5] = L7_1
L2_1[6] = L8_1
L2_1[7] = L9_1
L2_1[8] = L10_1
gadgets = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 38015
L4_1 = RegionShape
L4_1 = L4_1.SPHERE
L3_1.shape = L4_1
L3_1.radius = 5
L4_1 = {}
L4_1.x = 2383.748
L4_1.y = 248.014
L4_1.z = -1306.254
L3_1.pos = L4_1
L2_1[1] = L3_1
regions = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 1038010
L3_1.name = "QUEST_START_38010"
L4_1 = EventType
L4_1 = L4_1.EVENT_QUEST_START
L3_1.event = L4_1
L4_1 = L1_1.source_2
L3_1.source = L4_1
L3_1.condition = ""
L3_1.action = "action_EVENT_QUEST_START_38010"
L3_1.trigger_count = 0
L4_1 = {}
L4_1.config_id = 1038011
L4_1.name = "QUEST_START_38011"
L5_1 = EventType
L5_1 = L5_1.EVENT_QUEST_START
L4_1.event = L5_1
L5_1 = L1_1.source_4
L4_1.source = L5_1
L4_1.condition = ""
L4_1.action = "action_EVENT_QUEST_START_38011"
L4_1.trigger_count = 0
L5_1 = {}
L5_1.config_id = 1038012
L5_1.name = "QUEST_START_38012"
L6_1 = EventType
L6_1 = L6_1.EVENT_QUEST_START
L5_1.event = L6_1
L6_1 = L1_1.source_6
L5_1.source = L6_1
L5_1.condition = ""
L5_1.action = "action_EVENT_QUEST_START_38012"
L5_1.trigger_count = 0
L6_1 = {}
L6_1.config_id = 1038013
L6_1.name = "CHALLENGE_SUCCESS_38013"
L7_1 = EventType
L7_1 = L7_1.EVENT_CHALLENGE_SUCCESS
L6_1.event = L7_1
L6_1.source = "10"
L6_1.condition = ""
L6_1.action = "action_EVENT_CHALLENGE_SUCCESS_38013"
L6_1.trigger_count = 0
L7_1 = {}
L7_1.config_id = 1038014
L7_1.name = "CHALLENGE_FAIL_38014"
L8_1 = EventType
L8_1 = L8_1.EVENT_CHALLENGE_FAIL
L7_1.event = L8_1
L7_1.source = "10"
L7_1.condition = ""
L7_1.action = "action_EVENT_CHALLENGE_FAIL_38014"
L7_1.trigger_count = 0
L8_1 = {}
L8_1.config_id = 1038015
L8_1.name = "ENTER_REGION_38015"
L9_1 = EventType
L9_1 = L9_1.EVENT_ENTER_REGION
L8_1.event = L9_1
L8_1.source = "1"
L8_1.condition = "condition_EVENT_ENTER_REGION_38015"
L8_1.action = ""
L8_1.trigger_count = 0
L8_1.tag = "555"
L9_1 = {}
L9_1.config_id = 1038016
L9_1.name = "QUEST_START_38016"
L10_1 = EventType
L10_1 = L10_1.EVENT_QUEST_START
L9_1.event = L10_1
L10_1 = L1_1.source_8
L9_1.source = L10_1
L9_1.condition = ""
L9_1.action = "action_EVENT_QUEST_START_38016"
L9_1.trigger_count = 0
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
L2_1[4] = L6_1
L2_1[5] = L7_1
L2_1[6] = L8_1
L2_1[7] = L9_1
triggers = L2_1
L2_1 = {}
L3_1 = {}
L3_1.configId = 1
L3_1.name = "Challenge_Flag"
L3_1.value = 0
L3_1.no_refresh = false
L2_1[1] = L3_1
variables = L2_1
L2_1 = {}
L2_1.suite = 1
L2_1.end_suite = 0
L2_1.rand_suite = false
init_config = L2_1
L2_1 = {}
L3_1 = {}
L4_1 = {}
L3_1.monsters = L4_1
L4_1 = {}
L3_1.gadgets = L4_1
L4_1 = {}
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "QUEST_START_38010"
L6_1 = "QUEST_START_38011"
L7_1 = "QUEST_START_38012"
L8_1 = "QUEST_START_38016"
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L4_1[4] = L8_1
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L4_1 = {}
L5_1 = {}
L4_1.monsters = L5_1
L5_1 = {}
L6_1 = 38001
L7_1 = 38007
L8_1 = 38008
L5_1[1] = L6_1
L5_1[2] = L7_1
L5_1[3] = L8_1
L4_1.gadgets = L5_1
L5_1 = {}
L6_1 = 38015
L5_1[1] = L6_1
L4_1.regions = L5_1
L5_1 = {}
L6_1 = "CHALLENGE_SUCCESS_38013"
L7_1 = "CHALLENGE_FAIL_38014"
L8_1 = "ENTER_REGION_38015"
L5_1[1] = L6_1
L5_1[2] = L7_1
L5_1[3] = L8_1
L4_1.triggers = L5_1
L4_1.rand_weight = 100
L5_1 = {}
L6_1 = {}
L5_1.monsters = L6_1
L6_1 = {}
L7_1 = 38005
L8_1 = 38007
L9_1 = 38008
L6_1[1] = L7_1
L6_1[2] = L8_1
L6_1[3] = L9_1
L5_1.gadgets = L6_1
L6_1 = {}
L7_1 = 38015
L6_1[1] = L7_1
L5_1.regions = L6_1
L6_1 = {}
L7_1 = "CHALLENGE_SUCCESS_38013"
L8_1 = "CHALLENGE_FAIL_38014"
L9_1 = "ENTER_REGION_38015"
L6_1[1] = L7_1
L6_1[2] = L8_1
L6_1[3] = L9_1
L5_1.triggers = L6_1
L5_1.rand_weight = 100
L6_1 = {}
L7_1 = {}
L6_1.monsters = L7_1
L7_1 = {}
L8_1 = 38006
L9_1 = 38007
L10_1 = 38008
L7_1[1] = L8_1
L7_1[2] = L9_1
L7_1[3] = L10_1
L6_1.gadgets = L7_1
L7_1 = {}
L8_1 = 38015
L7_1[1] = L8_1
L6_1.regions = L7_1
L7_1 = {}
L8_1 = "CHALLENGE_SUCCESS_38013"
L9_1 = "CHALLENGE_FAIL_38014"
L10_1 = "ENTER_REGION_38015"
L7_1[1] = L8_1
L7_1[2] = L9_1
L7_1[3] = L10_1
L6_1.triggers = L7_1
L6_1.rand_weight = 100
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
L2_1[4] = L6_1
suites = L2_1
function L2_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2
  L2_2 = ScriptLib
  L2_2 = L2_2.AddExtraGroupSuite
  L3_2 = A0_2
  L4_2 = L1_1.group_id
  L5_2 = 2
  L2_2(L3_2, L4_2, L5_2)
  L2_2 = ScriptLib
  L2_2 = L2_2.ActiveChallenge
  L3_2 = A0_2
  L4_2 = 10
  L5_2 = L1_1.challenge_id_no_record
  L6_2 = L1_1.challenge_1_duration
  L7_2 = 4
  L8_2 = 555
  L9_2 = 1
  L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2)
  L2_2 = ScriptLib
  L2_2 = L2_2.MarkPlayerAction
  L3_2 = A0_2
  L4_2 = 3000
  L5_2 = 1
  L6_2 = 1
  L2_2(L3_2, L4_2, L5_2, L6_2)
  L2_2 = ScriptLib
  L2_2 = L2_2.MarkPlayerAction
  L3_2 = A0_2
  L4_2 = 3000
  L5_2 = 2
  L6_2 = 2
  L2_2(L3_2, L4_2, L5_2, L6_2)
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGroupVariableValue
  L3_2 = A0_2
  L4_2 = "Challenge_Flag"
  L5_2 = 1
  L2_2(L3_2, L4_2, L5_2)
  L2_2 = 0
  return L2_2
end
action_EVENT_QUEST_START_38010 = L2_1
function L2_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2
  L2_2 = ScriptLib
  L2_2 = L2_2.AddExtraGroupSuite
  L3_2 = A0_2
  L4_2 = L1_1.group_id
  L5_2 = 3
  L2_2(L3_2, L4_2, L5_2)
  L2_2 = ScriptLib
  L2_2 = L2_2.ActiveChallenge
  L3_2 = A0_2
  L4_2 = 10
  L5_2 = L1_1.challenge_id_no_record
  L6_2 = L1_1.challenge_2_duration
  L7_2 = 4
  L8_2 = 555
  L9_2 = 1
  L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2)
  L2_2 = ScriptLib
  L2_2 = L2_2.MarkPlayerAction
  L3_2 = A0_2
  L4_2 = 3000
  L5_2 = 2
  L6_2 = 3
  L2_2(L3_2, L4_2, L5_2, L6_2)
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGroupVariableValue
  L3_2 = A0_2
  L4_2 = "Challenge_Flag"
  L5_2 = 2
  L2_2(L3_2, L4_2, L5_2)
  L2_2 = 0
  return L2_2
end
action_EVENT_QUEST_START_38011 = L2_1
function L2_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2
  L2_2 = ScriptLib
  L2_2 = L2_2.AddExtraGroupSuite
  L3_2 = A0_2
  L4_2 = L1_1.group_id
  L5_2 = 4
  L2_2(L3_2, L4_2, L5_2)
  L2_2 = ScriptLib
  L2_2 = L2_2.ActiveChallenge
  L3_2 = A0_2
  L4_2 = 10
  L5_2 = L1_1.challenge_id_have_record
  L6_2 = L1_1.challenge_3_duration
  L7_2 = 4
  L8_2 = 555
  L9_2 = 1
  L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2)
  L2_2 = ScriptLib
  L2_2 = L2_2.MarkPlayerAction
  L3_2 = A0_2
  L4_2 = 3000
  L5_2 = 2
  L6_2 = 4
  L2_2(L3_2, L4_2, L5_2, L6_2)
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGroupVariableValue
  L3_2 = A0_2
  L4_2 = "Challenge_Flag"
  L5_2 = 3
  L2_2(L3_2, L4_2, L5_2)
  L2_2 = 0
  return L2_2
end
action_EVENT_QUEST_START_38012 = L2_1
function L2_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2
  L2_2 = ScriptLib
  L2_2 = L2_2.GetGroupVariableValue
  L3_2 = A0_2
  L4_2 = "Challenge_Flag"
  L2_2 = L2_2(L3_2, L4_2)
  if L2_2 == 1 then
    L3_2 = ScriptLib
    L3_2 = L3_2.CreateGadget
    L4_2 = A0_2
    L5_2 = {}
    L6_2 = L1_1.gadget_chest_1
    L5_2.config_id = L6_2
    L3_2(L4_2, L5_2)
    L3_2 = ScriptLib
    L3_2 = L3_2.AddQuestProgress
    L4_2 = A0_2
    L5_2 = L1_1.quest_1_success
    L3_2(L4_2, L5_2)
    L3_2 = ScriptLib
    L3_2 = L3_2.MarkPlayerAction
    L4_2 = A0_2
    L5_2 = 3000
    L6_2 = 3
    L7_2 = 2
    L3_2(L4_2, L5_2, L6_2, L7_2)
    L3_2 = ScriptLib
    L3_2 = L3_2.RemoveExtraGroupSuite
    L4_2 = A0_2
    L5_2 = L1_1.group_id
    L6_2 = 2
    L3_2(L4_2, L5_2, L6_2)
  elseif L2_2 == 2 then
    L3_2 = ScriptLib
    L3_2 = L3_2.CreateGadget
    L4_2 = A0_2
    L5_2 = {}
    L6_2 = L1_1.gadget_chest_2
    L5_2.config_id = L6_2
    L3_2(L4_2, L5_2)
    L3_2 = ScriptLib
    L3_2 = L3_2.AddQuestProgress
    L4_2 = A0_2
    L5_2 = L1_1.quest_2_success
    L3_2(L4_2, L5_2)
    L3_2 = ScriptLib
    L3_2 = L3_2.MarkPlayerAction
    L4_2 = A0_2
    L5_2 = 3000
    L6_2 = 3
    L7_2 = 3
    L3_2(L4_2, L5_2, L6_2, L7_2)
    L3_2 = ScriptLib
    L3_2 = L3_2.RemoveExtraGroupSuite
    L4_2 = A0_2
    L5_2 = L1_1.group_id
    L6_2 = 3
    L3_2(L4_2, L5_2, L6_2)
  elseif L2_2 == 3 then
    L3_2 = ScriptLib
    L3_2 = L3_2.CreateGadget
    L4_2 = A0_2
    L5_2 = {}
    L6_2 = L1_1.gadget_chest_3
    L5_2.config_id = L6_2
    L3_2(L4_2, L5_2)
    L3_2 = ScriptLib
    L3_2 = L3_2.AddQuestProgress
    L4_2 = A0_2
    L5_2 = L1_1.quest_3_success
    L3_2(L4_2, L5_2)
    L3_2 = ScriptLib
    L3_2 = L3_2.MarkPlayerAction
    L4_2 = A0_2
    L5_2 = 3000
    L6_2 = 3
    L7_2 = 4
    L3_2(L4_2, L5_2, L6_2, L7_2)
    L3_2 = ScriptLib
    L3_2 = L3_2.RemoveExtraGroupSuite
    L4_2 = A0_2
    L5_2 = L1_1.group_id
    L6_2 = 4
    L3_2(L4_2, L5_2, L6_2)
  elseif L2_2 == 4 then
    L3_2 = ScriptLib
    L3_2 = L3_2.AddQuestProgress
    L4_2 = A0_2
    L5_2 = L1_1.quest_4_success
    L3_2(L4_2, L5_2)
    L3_2 = ScriptLib
    L3_2 = L3_2.MarkPlayerAction
    L4_2 = A0_2
    L5_2 = 3000
    L6_2 = 3
    L7_2 = 5
    L3_2(L4_2, L5_2, L6_2, L7_2)
    L3_2 = ScriptLib
    L3_2 = L3_2.RemoveExtraGroupSuite
    L4_2 = A0_2
    L5_2 = L1_1.group_id
    L6_2 = 4
    L3_2(L4_2, L5_2, L6_2)
  end
  L3_2 = 0
  return L3_2
end
action_EVENT_CHALLENGE_SUCCESS_38013 = L2_1
function L2_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2
  L2_2 = ScriptLib
  L2_2 = L2_2.GetGroupVariableValue
  L3_2 = A0_2
  L4_2 = "Challenge_Flag"
  L2_2 = L2_2(L3_2, L4_2)
  if L2_2 == 1 then
    L3_2 = ScriptLib
    L3_2 = L3_2.AddQuestProgress
    L4_2 = A0_2
    L5_2 = L1_1.quest_1_fail
    L3_2(L4_2, L5_2)
    L3_2 = ScriptLib
    L3_2 = L3_2.MarkPlayerAction
    L4_2 = A0_2
    L5_2 = 3000
    L6_2 = 4
    L7_2 = 2
    L3_2(L4_2, L5_2, L6_2, L7_2)
    L3_2 = ScriptLib
    L3_2 = L3_2.RemoveExtraGroupSuite
    L4_2 = A0_2
    L5_2 = L1_1.group_id
    L6_2 = 2
    L3_2(L4_2, L5_2, L6_2)
  elseif L2_2 == 2 then
    L3_2 = ScriptLib
    L3_2 = L3_2.AddQuestProgress
    L4_2 = A0_2
    L5_2 = L1_1.quest_2_fail
    L3_2(L4_2, L5_2)
    L3_2 = ScriptLib
    L3_2 = L3_2.MarkPlayerAction
    L4_2 = A0_2
    L5_2 = 3000
    L6_2 = 4
    L7_2 = 3
    L3_2(L4_2, L5_2, L6_2, L7_2)
    L3_2 = ScriptLib
    L3_2 = L3_2.RemoveExtraGroupSuite
    L4_2 = A0_2
    L5_2 = L1_1.group_id
    L6_2 = 3
    L3_2(L4_2, L5_2, L6_2)
  elseif L2_2 == 3 then
    L3_2 = ScriptLib
    L3_2 = L3_2.AddQuestProgress
    L4_2 = A0_2
    L5_2 = L1_1.quest_3_fail
    L3_2(L4_2, L5_2)
    L3_2 = ScriptLib
    L3_2 = L3_2.MarkPlayerAction
    L4_2 = A0_2
    L5_2 = 3000
    L6_2 = 4
    L7_2 = 4
    L3_2(L4_2, L5_2, L6_2, L7_2)
    L3_2 = ScriptLib
    L3_2 = L3_2.RemoveExtraGroupSuite
    L4_2 = A0_2
    L5_2 = L1_1.group_id
    L6_2 = 4
    L3_2(L4_2, L5_2, L6_2)
  elseif L2_2 == 4 then
    L3_2 = ScriptLib
    L3_2 = L3_2.AddQuestProgress
    L4_2 = A0_2
    L5_2 = L1_1.quest_4_fail
    L3_2(L4_2, L5_2)
    L3_2 = ScriptLib
    L3_2 = L3_2.MarkPlayerAction
    L4_2 = A0_2
    L5_2 = 3000
    L6_2 = 4
    L7_2 = 5
    L3_2(L4_2, L5_2, L6_2, L7_2)
    L3_2 = ScriptLib
    L3_2 = L3_2.RemoveExtraGroupSuite
    L4_2 = A0_2
    L5_2 = L1_1.group_id
    L6_2 = 4
    L3_2(L4_2, L5_2, L6_2)
  end
  L3_2 = 0
  return L3_2
end
action_EVENT_CHALLENGE_FAIL_38014 = L2_1
function L2_1(A0_2, A1_2)
  local L2_2, L3_2
  L2_2 = A1_2.param1
  L3_2 = L1_1.region
  if L2_2 ~= L3_2 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_ENTER_REGION_38015 = L2_1
function L2_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2
  L2_2 = ScriptLib
  L2_2 = L2_2.AddExtraGroupSuite
  L3_2 = A0_2
  L4_2 = L1_1.group_id
  L5_2 = 4
  L2_2(L3_2, L4_2, L5_2)
  L2_2 = ScriptLib
  L2_2 = L2_2.ActiveChallenge
  L3_2 = A0_2
  L4_2 = 10
  L5_2 = L1_1.challenge_id_have_record
  L6_2 = L1_1.challenge_3_duration
  L7_2 = 4
  L8_2 = 555
  L9_2 = 1
  L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2)
  L2_2 = ScriptLib
  L2_2 = L2_2.MarkPlayerAction
  L3_2 = A0_2
  L4_2 = 3000
  L5_2 = 2
  L6_2 = 5
  L2_2(L3_2, L4_2, L5_2, L6_2)
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGroupVariableValue
  L3_2 = A0_2
  L4_2 = "Challenge_Flag"
  L5_2 = 4
  L2_2(L3_2, L4_2, L5_2)
  L2_2 = 0
  return L2_2
end
action_EVENT_QUEST_START_38016 = L2_1
